.class Lcom/xingbook/park/activity/cj;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/VIPAct;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/cj;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 11

    const/16 v3, 0xc8

    const/4 v1, 0x3

    const/4 v10, 0x0

    const/4 v4, 0x0

    const/4 v7, 0x1

    iget-object v0, p0, Lcom/xingbook/park/activity/cj;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    move-object v9, v0

    check-cast v9, Lcom/xingbook/park/activity/VIPAct;

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object v2, v0

    check-cast v2, Lcom/xingbook/park/e/c;

    iget v0, p1, Landroid/os/Message;->what:I

    if-ne v0, v7, :cond_2

    if-eqz v2, :cond_0

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->e()I

    move-result v0

    if-ne v0, v3, :cond_0

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->a()I

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    sput-boolean v7, Lcom/xingbook/c/n;->d:Z

    invoke-virtual {v9, v7}, Lcom/xingbook/park/activity/VIPAct;->b(I)V

    move v7, v10

    :cond_0
    if-eqz v7, :cond_1

    const-string v0, "\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u672a\u80fd\u52a0\u8f7d\u4f1a\u5458\u4fe1\u606f\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    invoke-static {v9, v0, v10}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_1
    :goto_0
    invoke-static {v9, v10}, Lcom/xingbook/park/activity/VIPAct;->a(Lcom/xingbook/park/activity/VIPAct;Z)V

    return-void

    :cond_2
    iget v0, p1, Landroid/os/Message;->what:I

    if-ne v0, v1, :cond_1

    if-eqz v2, :cond_5

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->e()I

    move-result v0

    if-ne v0, v3, :cond_5

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->a()I

    move-result v0

    if-nez v0, :cond_3

    invoke-virtual {v9, v1}, Lcom/xingbook/park/activity/VIPAct;->b(I)V

    goto :goto_0

    :cond_3
    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->a()I

    move-result v0

    const/16 v1, 0x7d4

    if-ne v0, v1, :cond_4

    invoke-static {v9}, Lcom/xingbook/park/activity/VIPAct;->a(Lcom/xingbook/park/activity/VIPAct;)Lcom/xingbook/ui/af;

    move-result-object v0

    const-string v1, "\u767b\u5f55\u540e\u624d\u80fd\u5151\u6362\u4f1a\u5458\u54e6~"

    const/16 v2, 0x7d1

    const-string v3, "com.xingbook.park.activity.VIPAct"

    invoke-virtual {v0, v9, v1, v2, v3}, Lcom/xingbook/ui/af;->a(Landroid/app/Activity;Ljava/lang/String;ILjava/lang/String;)V

    goto :goto_0

    :cond_4
    invoke-static {v9}, Lcom/xingbook/park/activity/VIPAct;->a(Lcom/xingbook/park/activity/VIPAct;)Lcom/xingbook/ui/af;

    move-result-object v0

    const-string v1, "\u5151\u6362\u4f1a\u5458"

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v5, "\u5151\u6362\u51fa\u9519\u5566~ message:"

    invoke-direct {v3, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v5, "("

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->a()I

    move-result v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const-string v3, "\u6211\u77e5\u9053\u4e86"

    move-object v5, v4

    move-object v6, v4

    move v8, v7

    invoke-virtual/range {v0 .. v8}, Lcom/xingbook/ui/af;->a(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;Landroid/view/View$OnClickListener;ZZ)V

    goto :goto_0

    :cond_5
    invoke-static {v9}, Lcom/xingbook/park/activity/VIPAct;->a(Lcom/xingbook/park/activity/VIPAct;)Lcom/xingbook/ui/af;

    move-result-object v0

    const-string v1, "\u5151\u6362\u4f1a\u5458"

    const-string v2, "\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u672a\u80fd\u6210\u529f\u5151\u6362\u4f1a\u5458\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    const-string v3, "\u6211\u77e5\u9053\u4e86"

    move-object v5, v4

    move-object v6, v4

    move v8, v7

    invoke-virtual/range {v0 .. v8}, Lcom/xingbook/ui/af;->a(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;Landroid/view/View$OnClickListener;ZZ)V

    goto :goto_0
.end method
